Ventilations while using a respiratory function monitor